package com.banach.prema.dto.cmd;

import com.alibaba.fastjson.annotation.JSONField;
import com.banach.prema.enums.AlarmStatus;
import com.ego.framework.annotation.ReqParam;

import java.util.List;

/**
 * 预警
 * @author ajun
 *
 */
public class AlarmAdd {
	private Long id;
	@ReqParam(label = "标题",required = true)
	private String title;
	@ReqParam(label = "纬度",required = true)
	private Double lat;//求救纬度
	@ReqParam(label = "经度",required = true)
	private Double lng;//求救经度
	@ReqParam(label = "风险内容")
	private String content;

	@ReqParam(label = "风险状态",enumClass = AlarmStatus.class)
	private String status;

	@ReqParam(label = "图片列表")
	private List<String> images;

	public String getTitle() {
		return title;
	}

	public AlarmAdd setTitle(String title) {
		this.title = title;
		return this;
	}

	public String getContent() {
		return content;
	}

	public AlarmAdd setContent(String content) {
		this.content = content;
		return this;
	}

	public Double getLat() {
		return lat;
	}

	public AlarmAdd setLat(Double lat) {
		this.lat = lat;
		return this;
	}

	public Double getLng() {
		return lng;
	}

	public AlarmAdd setLng(Double lng) {
		this.lng = lng;
		return this;
	}

	public List<String> getImages() {
		return images;
	}

	public AlarmAdd setImages(List<String> images) {
		this.images = images;
		return this;
	}

	public String getStatus() {
		return status;
	}

	public AlarmAdd setStatus(String status) {
		this.status = status;
		return this;
	}

	public Long getId() {
		return id;
	}

	public AlarmAdd setId(Long id) {
		this.id = id;
		return this;
	}
}
